package com.swgk.core.view.entity;

import com.google.gson.annotations.SerializedName;
import com.swgk.core.view.entity.VideoTypeListEntity;

import java.io.Serializable;
import java.util.List;

public class ChannelEntity implements Serializable{
    private static final long serialVersionUID = -6465237897027410019L;

    /*"name": "商品",
     "icon": "",
     "id": 1,
     "sort": "1"*/
    @SerializedName("name")
    private String name;
    @SerializedName("icon")
    private String icon;
    @SerializedName("id")
    private int id;
    @SerializedName("sort")
    private String sort;
    public Integer selected;

//   分享分类模块的二级分类
    @SerializedName("children")
    private List<VideoTypeListEntity.ChildrenBean> children;

    private String introduce; //业务介绍

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public List<VideoTypeListEntity.ChildrenBean> getChildren() {
        return children;
    }

    public void setChildren(List<VideoTypeListEntity.ChildrenBean> children) {
        this.children = children;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }


    public static class ChildrenBean implements Serializable {
        /**
         * parentNo : 5db11981e4b02d4643b70ec0
         * no : 5db706eae4b02d4643b70edf
         * children : []
         * grade : 2
         * iconImg : http://shigongbang-software.oss-cn-hangzhou.aliyuncs.com//sgb-gcxy/editor/20191129/5de0f7b9e4b0119bcf0855bf.jpg
         * name : 工队信息
         * id : 88
         * sort : 5
         */

        private String parentNo;
        private String no;
        private String grade;
        private String iconImg;
        private String name;
        private int id;
        private int sort;
        private List<?> children;

        public String getParentNo() {
            return parentNo;
        }

        public void setParentNo(String parentNo) {
            this.parentNo = parentNo;
        }

        public String getNo() {
            return no;
        }

        public void setNo(String no) {
            this.no = no;
        }

        public String getGrade() {
            return grade;
        }

        public void setGrade(String grade) {
            this.grade = grade;
        }

        public String getIconImg() {
            return iconImg;
        }

        public void setIconImg(String iconImg) {
            this.iconImg = iconImg;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public List<?> getChildren() {
            return children;
        }

        public void setChildren(List<?> children) {
            this.children = children;
        }
    }
}
